package com.kitty.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

public class SampleController extends AbstractController {

	 
	 
	public ModelAndView handleRequestInternal(HttpServletRequest arg0,
			HttpServletResponse arg1) throws Exception {
		System.out.println("123");
		
		 ModelAndView mav = new ModelAndView("hello");
	        mav.addObject("message", "Hello World!");
	        return mav;  
	}

}
